const http = uni.$u.http

// 添加方案
export const addContent = param => http.post('admin/content.Content/add', param, {
	custom: {
		loadingTitle: '创建中...'
	}
})

// 编辑方案
export const editContent = param => http.post('admin/content.Content/edit', param, {
	custom: {
		loadingTitle: '修改中...'
	}
})

// 编辑方案
export const getStsToken = (params = {}) => http.get('admin/content.Content/getStsToken', { params }, {
	custom: {
		loadingTitle: '请求中...'
	}
})

export const getVidInfo = (params = {}) => http.get('admin/content.Content/getVidInfo', { params }, {
	custom: {
		loadingTitle: '拉取中...'
	}
})


